<template>
	<view>
		<public-confirm :title="title" :message="message" :confShow="confShow" btnNumber="1" confirmBtMsg="立即更新" @confirm="upDataAddress" @cancel="confShow = false" ></public-confirm>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '请更新收货地址',
				message: '地址异常，请更新后再后买',
				confShow: false,
				adressId: ''
			}
		},
		methods: {
			upDataAddress() {
				if (!this.adressId) return
				this.$routeUtils.navigateTo({
					url: `/package_user/address/addAndEdit?id=${this.adressId}&source=init`
				})
				this.isAddressError = false
			},
		}
	}
</script>

<style scoped lang="scss">

</style>
